package com.hqyj.mapper;

import com.hqyj.pojo.ProductImage;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.ArrayList;
import java.util.List;

public interface ProductImageMapper extends Mapper<ProductImage> {

    Integer productImageAdd(@Param("lists") List<ProductImage> lists);
    Boolean deleteProductImageById(@Param("id") Integer id);
    Integer deleteProductImageByIds(@Param("oIdsList") List<String> oIdsList);

    Integer updateByUrl(Integer id, String url1);
}